package com.zby.zbyliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zby.common.utils.PageUtils;
import com.zby.zbyliving.commodity.entity.AttrgroupEntity;
import com.zby.zbyliving.commodity.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 家居商品属性分组
 *
 * @author zby
 * @email 2069189112@qq.com
 * @date 2023-07-26 18:40:47
 */
public interface AttrgroupService extends IService<AttrgroupEntity> {

    PageUtils queryPage(Map<String, Object> params);
    PageUtils queryPage(Map<String, Object> params, Long categoryId);

    /**
     * 根据分类categoryId返回该分类关联的属性组和这些属性组关联的基本属性
     */
//    List<AttrGroupWithAttrsVo> getAttrGroupWithAttrsByCategoryId(Long categoryId);
}

